const { connection } = require('../../../model/database')
module.exports = (req, res) => {
    var sql = `select * from article where id = ${req.body.id}`
    connection.query(sql, (error, reslut) => {
        if (error) {
            console.log('错误');
        }
        res.send(reslut)
    }) 

}